package com.yihu.article.beans;

import java.io.Serializable;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import com.yihu.beans.user.Group;
import com.yihu.beans.user.GroupVO;
import com.yihu.beans.user.Role;
import com.yihu.beans.user.RoleVO;

@JsonIgnoreProperties(ignoreUnknown=true)
public class LoginResult implements Serializable{

	private long userId;
	private int result;
	private String message;
	private String icon;
	private String userName;
	private List<GroupVO> groups;
	private List<RoleVO> roles;
	
	public List<GroupVO> getGroups() {
		return groups;
	}
	public void setGroups(List<GroupVO> groups) {
		this.groups = groups;
	}
	public List<RoleVO> getRoles() {
		return roles;
	}
	public void setRoles(List<RoleVO> roles) {
		this.roles = roles;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	
	
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	
	
	
	
}
